package com.ccp.dev.qbdms.dao;

import com.ccp.dev.core.basic.base.IBaseMapper;
import com.ccp.dev.qbdms.model.WQbdFalProblemvso;
import org.apache.ibatis.annotations.Mapper;
import com.ccp.dev.core.basic.web.query.QueryFilter;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * 质量问题版本 信息数据库操作类
 *
 * @author sun
 * @date 2020-05-19 11:12:57
 */
@Mapper
public interface WQbdFalProblemvsoDao extends IBaseMapper<WQbdFalProblemvso,String> {

    List<WQbdFalProblemvso> queryAll(QueryFilter queryFilter);


    Long getMaxVersion(String id);

    List<WQbdFalProblemvso> getVersionById(String id);

    List<WQbdFalProblemvso> getAllById(String id);

    WQbdFalProblemvso getOneByIdAndVersionTime(Map<String, String> params);

}
